package cn.iocoder.yudao.module.agent.controller.admin.brokeragewithdrawrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 代理人佣金提现记录 Excel VO
 *
 * @author 曹建伟
 */
@Data
public class AgentBrokerageWithdrawRecordExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("代理人会员编号")
    private Long userId;

    @ExcelProperty("金额")
    private Integer price;

    @ExcelProperty("手续费")
    private Integer feePrice;

    @ExcelProperty("当前剩余佣金")
    private Integer leftBrokerage;

    @ExcelProperty(value = "0:审核中 1:审核通过 2:审核不通过 3:提现成功", converter = DictConvert.class)
    @DictFormat("agent_brokerage_withdraw_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("审核驳回原因")
    private String auditReason;

    @ExcelProperty("审核时间")
    private LocalDateTime auditTime;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
